<?php
/**
 * Core_Model_Randompassword
 * random password model
 *
 * @author Adrian Stolarski
 */
class Core_Model_Randompassword implements Core_Model_Mainable {
    
    /**
     *
     * @var type $random_password_data
     * random password data handler
     */
    public $random_password_data;
    
    /**
     * constructor()
     */
    public function __construct() {
        $this->random_password_data = new Core_Data_Randompassword;
    }
    
    /**
     * main()
     * random password generator
     * 
     * @param array $variables
     * @return type $password
     */
    public function main(array $variables = null) {
        //var_dump($variables);
        //die();
        $password = $this->random_password_data->main($variables);
        //echo $password;
        //die();
        return $password;
    }

}
